import request from '@/api'

// 获取当前城市
export const getCity = () => {
  return request.get<IResponse>('/system/city')
}

// 获取用户头像
export const getAvatar = () => {
  return request.get<any>('/system/avatar', '', 'blob')
}

// 更新密码
export const updatePassword = (params: any) => {
  return request.put('', params)
}
